﻿using System;
using smp.ButterflyCakes.Models;
using smp.ButterflyCakes.Models.ViewModels.Attachments;


namespace smp.ButterflyCakes.Repository.Interfaces
{
    public interface IAttachmentRepository
    {
        ViewFilesView GetFilesView(Guid orderId, bool canManage);

        bool AddAttachment(Guid orderId, AttachementItem attachement);

        Guid DeleteAttachment(Guid attachmentId);

        AttachementItem GetAttachment(Guid fileId);

        byte[] GetImageContent(Guid imageId);
    }
}
